<h3><?php echo __l('Browse Projects');?></h3>

	<ul class="side-menu clearfix order-list">
		<?php $class = (!empty($this->request->params['named']['filter']) && $this->request->params['named']['filter'] == 'recommended') ? ' class="active"' : null; ?>
		<li <?php echo $class;?>><?php echo $this->Html->link(__l('Recommended'), array('controller' => 'projects', 'action' => 'index', 'filter' => 'recommended'), array('title' => __l('Recommended')));?></li>
		<?php $class = (!empty($this->request->params['named']['filter']) && $this->request->params['named']['filter'] == 'popular') ? ' class="active"' : null; ?>
		<li <?php echo $class;?>><?php echo $this->Html->link(__l('Popular'), array('controller' => 'projects', 'action' => 'index', 'filter' => 'popular'), array('title' => __l('Popular')));?></li>
		<?php $class = (!empty($this->request->params['named']['filter']) && $this->request->params['named']['filter'] == 'almost_funded') ? ' class="active"' : null; ?>
		<li <?php echo $class;?>><?php echo $this->Html->link(__l('Almost Funded'), array('controller' => 'projects', 'action' => 'index', 'filter' => 'almost_funded'), array('title' => __l('Almost Funded')));?></li>
		<?php $class = (!empty($this->request->params['named']['filter']) && $this->request->params['named']['filter'] == 'ending_soon') ? ' class="active"' : null; ?>
		<li <?php echo $class;?>><?php echo $this->Html->link(__l('Ending Soon'), array('controller' => 'projects', 'action' => 'index', 'filter' => 'ending_soon'), array('title' => __l('Ending Soon')));?></li>
		<?php $class = (!empty($this->request->params['named']['filter']) && $this->request->params['named']['filter'] == 'small_projects') ? ' class="active"' : null; ?>
		<li <?php echo $class;?>><?php echo $this->Html->link(__l('Small Projects'), array('controller' => 'projects', 'action' => 'index', 'filter' => 'small_projects'), array('title' => __l('Small Projects')));?></li>
		<?php $class = (!empty($this->request->params['named']['filter']) && $this->request->params['named']['filter'] == 'hall_of_fame') ? ' class="active"' : null; ?>
		<li <?php echo $class;?>><?php echo $this->Html->link(__l('Hall of Fame'), array('controller' => 'projects', 'action' => 'index', 'filter' => 'hall_of_fame'), array('title' => __l('Hall of Fame')));?></li>
	</ul>
